package com.edocbase.desktop.plugins.mdiary;

import java.util.Comparator;

import com.edocbase.biz.diary.entities.DiaryEntity;

public class DiaryComparator implements Comparator<DiaryEntity> {

	@Override
	public int compare(DiaryEntity o1, DiaryEntity o2) {
		return (int)(o1.getId() - o2.getId());
	}

}
